CC = gcc
CFLAGS = -Wall -g
DEPS = main.h socket.h config.h performConnection.h shared_memory.h think.h
OBJ = main.o socket.o format.o config.o performConnection.o shared_memory.o think.o

client : $(OBJ)
	$(CC) $(CFLAGS) -o $@ $^

%.o : %.c $(DEPS)
	 $(CC) $(CFLAGS) -c -o $@ $<

.PHONY : clean

clean : 
	rm -f *.o client 